using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class BsSchedulematEntity : EntityBase
	{
		public BsSchedulematTable TableSchema
		{
			get
			{
				return (BsSchedulematTable)_tableSchema;
			}
		}

		public BsSchedulematEntity()
		{
			_tableSchema = BsSchedulematTable.Current;
		}

		#region 属性列表
		
		public Decimal? ScheduleMatID
		{

			
			get{ return GetData<Decimal>(BsSchedulematTable.C_SCHEDULEMATID); }
			
			
			set{ SetData(BsSchedulematTable.C_SCHEDULEMATID, value); }
		}

		
		public Decimal? ScheduleDetailID
		{

			
			get{ return GetData<Decimal>(BsSchedulematTable.C_SCHEDULEDETAILID); }
			
			
			set{ SetData(BsSchedulematTable.C_SCHEDULEDETAILID, value); }
		}

		
		public Decimal? BOMDetailID
		{

			
			get{ return GetData<Decimal>(BsSchedulematTable.C_BOMDETAILID); }
			
			
			set{ SetData(BsSchedulematTable.C_BOMDETAILID, value); }
		}

		
		public String MaterialID
		{

							
			get{ return Convert.ToString(GetData(BsSchedulematTable.C_MATERIALID));} 

			
			set{ SetData(BsSchedulematTable.C_MATERIALID, value); }
		}

		
		public Decimal? TotalNum
		{

			
			get{ return GetData<Decimal>(BsSchedulematTable.C_TOTALNUM); }
			
			
			set{ SetData(BsSchedulematTable.C_TOTALNUM, value); }
		}

		
		public Decimal? TotalWeight
		{

			
			get{ return GetData<Decimal>(BsSchedulematTable.C_TOTALWEIGHT); }
			
			
			set{ SetData(BsSchedulematTable.C_TOTALWEIGHT, value); }
		}

		
		public DateTime? ExpectArriveDate
		{

			
			get{ return GetData<DateTime>(BsSchedulematTable.C_EXPECTARRIVEDATE); }
			
			
			set{ SetData(BsSchedulematTable.C_EXPECTARRIVEDATE, value); }
		}

		
		public DateTime? ActulArriveDate
		{

			
			get{ return GetData<DateTime>(BsSchedulematTable.C_ACTULARRIVEDATE); }
			
			
			set{ SetData(BsSchedulematTable.C_ACTULARRIVEDATE, value); }
		}

		
		public DateTime? ActulSendDate
		{

			
			get{ return GetData<DateTime>(BsSchedulematTable.C_ACTULSENDDATE); }
			
			
			set{ SetData(BsSchedulematTable.C_ACTULSENDDATE, value); }
		}

		
		public Decimal? ActulSendNum
		{

			
			get{ return GetData<Decimal>(BsSchedulematTable.C_ACTULSENDNUM); }
			
			
			set{ SetData(BsSchedulematTable.C_ACTULSENDNUM, value); }
		}

		
		#endregion
	}
}

